package com.evildog.workspace.system.application.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import com.evildog.workspace.system.application.dto.ApiPermissionPageDTO;
import com.evildog.workspace.system.application.entity.ApiPermission;
import com.evildog.workspace.system.application.entity.ApiPermissionPageDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * apiPermission Mapper 接口
 * </p>
 *
 * @author evildog
 * @since 2020-07-25
 */
public interface ApiPermissionMapper extends BaseMapper<ApiPermission> {

    /**
    * 自定义分页
    */
    IPage<ApiPermissionPageDO> getPageList(IPage<ApiPermissionPageDO> page, @Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") ApiPermissionPageDTO pageDTO);

}
